
* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: currentColor;
}
body{
    overflow-x: hidden;
}





// js
.swiper {
    width: 100% !important;
    height: 8.4267rem !important;
}
.play2,.play3{
    width: 100%;
    height: 5.8667rem !important;
}
.swiper-slide {
    text-align: center;
    font-size: .96rem;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background-color: #ff463c !important;
}







// 顶部
.header {
    width: 20rem;
    height: 2.3467rem;
    line-height: 2.3467rem;
    background-color: #fff;
    display: flex;
    border-bottom: .0533rem solid #d8d8d8;

    a {
        display: block;
        width: 2.1333rem;
        text-align: center;

        i {
            font-size: .9067rem !important;
        }
    }

    span {
        width: 15.7333rem;
        margin: auto;
        font-size: .9067rem;
        color: #333;
        text-align: center;
    }

    p {
        width: 2.1333rem;
        background: url('../image/b1-2.png') no-repeat 50%;
        background-size: 60%;
    }
}






// 输入框
.search {
    width: 20rem;
    height: 2.6667rem;
    padding: .5333rem .64rem;
    box-sizing: border-box;

    .search-box {
        width: 18.6667rem;
        height: 1.6rem;
        line-height: 1.28rem;
        background-color: rgb(245, 245, 245);
        margin: auto;
        padding: 0 .7467rem;
        box-sizing: border-box;
        border-radius: 1.0667rem;
        span{
            font-size: .64rem;
            color: #565656;
            margin-right: .7467rem;
        }

        input {
            width: 10.8267rem;
            height: 1.6rem;
            line-height: 1.6rem;
            padding: .2667rem .2667rem;
            box-sizing: border-box;
            border: none;
            outline: none;
            color: #4d5159;
            background-color: transparent;
            font-size: .64rem;
        }
    }
}







// 图书分类
.book-navs{
    width: 20rem;
    height: 3.7867rem;
    display: flex;
    img{
        width: 4rem;
        height: 3.7867rem;
        display: block;
    }
}
.app-line{
    width: 20rem;
    height: .5333rem;
    background-color: rgb(248, 248, 248);
}



// 详细分类
.floor{
    width: 20rem;
    height: 6.88rem;
    background-color: rgb(248, 248, 248);
    .floor-nav{
        width: 20rem;
        height: 2.1333rem;
        text-align: center;
        overflow: hidden;
        font-size: .64rem;
        margin-bottom: .2133rem;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        .nav1{
            width: 4rem;
            display: flex;
            padding: .64rem 0;
            box-sizing: border-box;
            background-image: url(https://img62.ddimg.cn/upload_img/00705/yhj/03-5.31-ued.jpg);
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: 100% 100%;
            a{
                display: block;
                width: 3.9467rem;
                height: .8rem;
            }
        }
        .nav2{
            width: 4rem;
            display: flex;
            padding: .64rem 0;
            box-sizing: border-box;
            position: relative;
            a{
                display: block;
                width: 3.9467rem;
                height: .8rem;
                border-right: .0533rem solid rgb(234, 234, 234);
            }
            span{
                display: block;
                width: 1.1733rem;
                height: .8533rem;
                position: absolute;
                top: .1067rem;
                right: .1067rem;
                background-image: url(http://img61.ddimg.cn/upload_img/00775/h5/hot_icon-1556613430.png);
                background-size: 100% 100%;
                background-position: 50%;
                background-repeat: no-repeat;
            }
        }
    }
}






// 当当快讯
.app_small_horn{
    width: 20rem;
    height: 2.1333rem;
    padding: 0 .5333rem;
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    img{
        width: 4.2667rem;
        height: 2.1333rem;
    }
    a{
        width: 14.6667rem;
        height: 2.1333rem;
        line-height: 2.1333rem;
        display: flex;
        justify-content: space-between;
        & span:nth-child(1){
            display: block;
            width: 3.84rem;
            height: 2.1333rem;
            font-size: .64rem;
            margin-left: .2667rem;
            padding: .0533rem 0 0;
            box-sizing: border-box;
            color: #3c3c3c;
        }
        & span:nth-child(2){
            width: 1.6rem;
            height: 2.1333rem;
            line-height: 2.1333rem;
            font-size: .64rem;
            text-align: center;
            color: #ff463c;
        }
    }
}
.new-book{
    width: 20rem;
    height: auto;
}









// 区域滚动
.content-block {
    width: 20rem;
    height: 9.0667rem;
    padding: .7467rem 0 0 .2667rem;
    box-sizing: border-box;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-top: 0;
    &::-webkit-scrollbar{
        display: none;
    }

    .items {
        width: auto !important;
        display: flex;
        height: 8.8rem;
        padding: 0 0 .3733rem;
        margin: 0 0 -0.3733rem;
        box-sizing: border-box;

        .edition{
            font-size: .48rem;
            color: #ff6d34;
            background: url(http://img62.ddimg.cn/upload_img/00775/h5/bookmark-1557296402.png) left .2133rem no-repeat;
            background-size: .3733rem .4267rem;
            padding-left: .48rem;
            margin-top: 0;
            padding-bottom: .2667rem;
        }
        
        div {
            width: 5.44rem;
            height: 8.48rem;
            margin-right: .2933rem;

            img {
                width: 5.44rem;
                height: 5.44rem;
                display: block;
            }

            p {
                margin-top: .2133rem;
                width: 5.44rem;
                height: .8rem;
                line-height: .8rem;
                font-size: .64rem;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                text-overflow: ellipsis;
                overflow: hidden;
            }

            div {
                width: 5.44rem;
                height: .8533rem;
                margin-top: .2133rem;
                color: #ff463c;
                font-size: .64rem;
                display: flex;

                & span:nth-of-type(2) {
                    margin-right: .2133rem;
                    margin-left: 0;
                }

                span {
                    display: block;
                    margin-left: -0.1067rem;
                }
                .float{
                    font-size: .5333rem;
                    margin: .1067rem 0 0 -0.16rem;
                }
                .label{
                    display: inline-block;
                    height: .64rem;
                    line-height: .64rem;
                    background: #f2303c;
                    color: #fff;
                    font-size: .4267rem;
                    margin-top: .0533rem;
                    margin-left: .16rem;
                    padding: 0 .0533rem 0;
                    border-radius: .0533rem;
                }
            }
        }
    }
}

.none{
    display: none;
}






// 猜您喜欢
.guess{
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    &::-webkit-scrollbar{
        display: none;
    }
    div{
    width: 19.5rem;
    height: 2.24rem;
    margin-top: .2667rem;
    display: flex;
    justify-content: space-between;
    overflow-y: hidden;
    text-align: center;
    }
    p{
        width: 100%;
        height: 2.1333rem;
        line-height: 2.1333rem;
        font-size: .7rem;
        padding: 0 .6933rem;
        box-sizing: border-box;
        span{
            display: block;
            height: 2.1867rem;
        }
    }
    .active{
        color: #e64436;
        border-bottom: .0533rem solid #e64436;
    }
}







// 猜你喜欢
.guess-like{
    width: 20rem;
    height: 9.64rem;
    margin-bottom: 2.7734rem;
    .like-title{
        width: 100%;
        height: 2.24rem;
        padding-left: .8rem;
        box-sizing: border-box;
        p{
            width: 3.0933rem;
            height: 2.24rem;
            line-height: 2.24rem;
            font-size: .7467rem;
        }
        .active2{
            color: #e64436;
            border-bottom: .0533rem solid #e64436;
        }
        &::after{
            content:"";
        }
    }
    .more{
        margin-top: .0533rem;
        width: 20rem;
        height: 2.2933rem;
        line-height: 2.2933rem;
        background-color: #f2f2f2;
        text-align: center;
        padding: .4267rem 0;
        box-sizing: border-box;  
        border-top: .0533rem solid #e3e3e3;
        border-bottom: .0533rem solid #e3e3e3;
        p{
            width:  6.24rem;
            height: 1.44rem;
            line-height: 1.44rem;
            font-size: .64rem;
            padding: 0 1.7067rem;
            color: #898989;
            border: .0533rem solid #898989;
            box-sizing: border-box;
            margin: auto;
            border-radius: 1.0667rem;
        }
    }
}

.bottom{
    margin-top: .0533rem;
    width: 20rem;
    height: 2.0267rem;
    padding: .5333rem 0;
    box-sizing: border-box;
    position: relative;
    background-color: rgb(248, 248, 248);
    &::before{
        position: absolute;
        content: "";
        height: .0533rem;
        background-color: #d9dfe6;
        top: 50%;
        left: 3.4667rem;
        width: 65%;
        z-index: 1;
    }
    div{
        width: 11.2rem;
        height: .96rem;
        line-height: .96rem;
        margin: auto;
        display: flex;
        position: relative;
        z-index: 1;
        padding-left: .8rem;
        background-color: rgb(248, 248, 248);
        box-sizing: border-box;
        img{
            width: 1.0667rem;
            height: .4267rem;
            margin-right: .2667rem;
            display: block;
            margin-top: .2667rem;
        }
        p{
            position: relative;
            z-index: 1;
            width: 8.2133rem;
            height: .96rem;
            color: #9ca8b6;
            text-align: center;
            font-size: .7467rem;
        }
    }
}








// 固定定位
.app-bottom{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 20rem;
    height: 2.6133rem;
    display: flex;
    background-color: #f5f5f5;
    border-top: .0533rem solid #e3e3e3;
    z-index: 99;
    img{
        width: 4rem;
        height: 2.6133rem;
    }
}